package com.situ.store.service.impl;

import com.situ.store.dao.LoginLogDao;
import com.situ.store.entity.LoginLog;
import com.situ.store.service.LoginLogService;

import javax.servlet.http.HttpSession;
import java.time.LocalDateTime;

/**
 * ClassName: LoginLogServiceImpl
 * Package: com.situ.store.service.impl
 * Description:
 *
 * @Author Darling_达
 * @Create 2023-03-02 20:19
 * @Version 1.0
 */
public class LoginLogServiceImpl implements LoginLogService {

    LoginLogDao dao = new LoginLogDao();

    @Override
    public void loginLog(LoginLog loginLog) {
        loginLog.setLoginTime(LocalDateTime.now());
        dao.loginLog(loginLog);
    }

}
